package jmine.tec.services.test.services;

import jmine.tec.services.annotations.Execution;
import jmine.tec.services.annotations.Input;
import jmine.tec.services.annotations.ServiceImplementor;
import jmine.tec.services.api.ActionsEnum;
import junit.framework.Assert;
import bancosys.tec.utils.date.Date;

@ServiceImplementor(action = ActionsEnum.INCLUIR, stateless = true)
public class CachedServiceStateles extends Assert {

    public static final Date DATA = new Date(2008, 11, 28);

    @Execution
    public void executa(@Input(fieldName = "DATA", cached = true) Date data) {
        assertEquals(DATA, data);
    }

}
